package cn.com.byte1024.mapper;

import cn.com.byte1024.entity.VoteProject;
import org.apache.ibatis.annotations.Param;

public interface VoteProjectMapper {
    
    VoteProject selectByVoteProjectIdUserId(@Param("voteProjectId") String voteProjectId,@Param("userId") String userId);
    
    VoteProject selectByProjectCode(@Param("projectCode") String projectCode);
    
    int deleteByPrimaryKey(String voteProjectId);

    int insert(VoteProject record);

    int insertSelective(VoteProject record);

    VoteProject selectByPrimaryKey(String voteProjectId);

    int updateByPrimaryKeySelective(VoteProject record);

    int updateByPrimaryKey(VoteProject record);
}